Revisiting Swapping in User-space with Lightweight Threading
نویسندگان
چکیده
Memory-intensive applications, such as in-memory databases, caching systems, and key-value stores, are increasingly demanding larger main memory to fit their working sets. Conventional swapping can enlarge the capacity by paging out inactive pages backend stores. However, existing solutions suffer several performance compatibility issues, making them unsuitable for high-concurrency memoryintensive applications. In this paper, we redesign system propose Lightswap, a high-performance user-space solution that supports with both local SSDs remote memories. First, avoid kernel involvement, leverage extended Berkeley Packet Filter (eBPF) handling page faults in user space further eliminate heavy I/O stack help of drivers. Then, co-design fault lightweight thread (LWT) scheduling improve throughput reduce end-to-end latency. Finally, try-catch framework Lightswap deal swap-in errors which have been exacerbated scaling process technology. We implement our production-level evaluate it various benchmarks. Results show achieves scalable notification latency (4μs under 128 LWTs), reduces 3-5 times, improves memcached more than 40% compared state-of-art systems.
منابع مشابه
Lightweight User-Space Record And Replay
The ability to record and replay program executions with low overhead enables many applications, such as reverseexecution debugging, debugging of hard-to-reproduce test failures, and “black box” forensic analysis of failures in deployed systems. Existing record-and-replay approaches rely on recording an entire virtual machine (which is heavyweight), modifying the OS kernel (which adds deploymen...
متن کاملLightweight threading with MPI using Persistent Communications Semantics
Multi-threaded performance in MPI is of concern for future systems, particularly at Exascale, where massive concurrency will be necessary to leverage the full power of systems. While MPI provides generalized solutions and additional proposals like endpoints expand this general model, examining common use cases that have good solutions that may not be universally applicable is a viable additiona...
متن کاملOPUS: A Lightweight System for Observational Provenance in User Space
A variety of current provenance systems address the challenges of provenance capture, storage and query. However they require special setup and configuration, do not capture all I/O operations and limit themselves to specific specialised platforms. In this paper we propose the design of a data provenance capture and query tool called OPUS. OPUS works entirely in user space, is light-weight and ...
متن کاملGang Scheduling with Lightweight User-Level Communication
In this paper, we explore the performance of gang scheduling on a cluster using the Quadrics interconnection network. In such a cluster, the scheduler can take advantage of this network’s unique capabilities, including a network interface card-based processor and memory and efficient user-level communication libraries. We developed a micro-benchmark to test the scheduler’s performance under var...
متن کاملApplication of Lightweight Threading Techniques to Computational Chemistry
The recent advent of inexpensive commodity multiprocessor computers with standardized operating system support for lightweight threads provides computational chemists and other scientists with an exciting opportunity to develop sophisticated new approaches to materials simulation. We contrast the flexible performance characteristics of lightweight threading with the restrictions of traditional ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
سال: 2023
ISSN: ['1937-4151', '0278-0070']
DOI: https://doi.org/10.1109/tcad.2023.3274953